package com.life.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("文章")
public class ArticleDTO implements Serializable {

    @ApiModelProperty("文章id")
    private Long id;

    @ApiModelProperty("文章标题")
    private String title;

    @ApiModelProperty("文章内容")
    private String content;

    @ApiModelProperty("图片id")
    private Long pictureId;

    @ApiModelProperty("标签id")
    private Long tagId;

    @ApiModelProperty("文章状态")
    private Integer status;

    @ApiModelProperty("是否置顶")
    private Integer isTop;
}
